<template>
  <div id="app">
  <keep-alive>
    <router-view v-if="$route.meta.keep"></router-view>
  </keep-alive>
  <router-view v-if="!$route.meta.keep"></router-view>
    <van-tabbar v-model="active"  route v-if="$route.meta.isRoot">
      <van-tabbar-item name="home" icon="home-o" replace to="/"
        >首页</van-tabbar-item
      >
      <van-tabbar-item name="release" icon="add-o" replace to="/release"
        >发布</van-tabbar-item
      >
      <van-tabbar-item name="My" icon="manager-o" replace to="/My"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: "",
      value: "",
    };
  },
  created() {
  
  },
  computed: {},
  methods: {},
};
</script>


<style lang="scss" scoped>
::v-deep .van-tabbar--fixed{
  bottom: -3px;
}
*{
  margin: 0;
  padding: 0;
}
</style>
